package com.qiwx.pigeon.viewinterface;

import com.qiwx.pigeon.base.IBaseView;
import com.qiwx.pigeon.data.vo.EggLoseBean;
import com.qiwx.pigeon.data.vo.LayEggAmountBean;
import com.qiwx.pigeon.data.vo.QueryCageBean;
import com.qiwx.pigeon.data.vo.QueryFertilizedBean;
import com.qiwx.pigeon.data.vo.CageProduceBean;
import com.qiwx.pigeon.data.vo.SummaryOther;
import com.qiwx.pigeon.data.vo.pageinfo.PageInfo;

import java.util.List;

/**
 * @description
 * @Author qiwx
 * @Date 2020-05-05 10:51
 * 鸽笼查询
 **/
public interface IQueryCageView extends IBaseView {
    void onSearchSuccess(CageProduceBean bean);
    void onQueryCageSuccess(PageInfo<CageProduceBean> bean);
    void onQueryLayEggSuccess(List<LayEggAmountBean> data);
    void onQueryEggLoseSuccess(List<EggLoseBean> data);
    void onQueryShoujSuccess(List<QueryFertilizedBean> data);
    void onQueryOtherSuccess(List<SummaryOther> data);
    void onAddCageEliminateSuccess(int type);
    void onFailure(String error);
}
